﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Group3Game
{
    class MyRectangle
    {
        Rectangle upperRectangle;
        Rectangle lowerRectangle;

        public MyRectangle(Rectangle original)
        {
            this.upperRectangle = original;
            
            //this.lowerRectangle = new Rectangle(original.X+100, original.Y+100, original.Width, original.Height);
            this.lowerRectangle = new Rectangle(upperRectangle.X, upperRectangle.Y + 1000, upperRectangle.Width, upperRectangle.Height);
        }

        public Rectangle UpperRectangle
        {
            get { return upperRectangle; }
        }
        
        public Rectangle LowerRectangle
        {
            get { return lowerRectangle; }
        }
    
    }
}
